#pragma once
//Single types
#define NBTT_BYTE 1
#define NBTT_SHORT 2
#define NBTT_INT 3
#define NBTT_LONG 4
#define NBTT_FLOAT 5
#define NBTT_DOUBLE 6

//Arrays/Lists
#define NBTT_ARRAY 7
#define NBTT_STRING 8
#define NBTT_LIST 9
#define NBTT_INTARRAY 11

//Compound Tags
#define NBTT_COMPOUND 10
#define NBTT_END 0

#define NBTT_MAX NBTT_INTARRAY
#define NBTT_MIN NBTT_END
#define NBTT_DEFAULT NBTT_INT

//List of static nbt element sizes without header
const int nbtTypeSize[] = { 0, sizeof(char), sizeof(short), sizeof(int), sizeof(long), sizeof(float), sizeof(double), 0, 0, 0, 0 };